package com.eastedu.model.permission.common;

import lombok.Getter;

/**
 * The enum Download permission enum.
 *
 * @author 张志帅
 */
@Getter
public enum FunctionPermissionEnum {
    /**
     * Video download download permission enum.
     */
    DOWNLOAD("1", "下载"),
    PUBLISH("2", "发布"),
    JOIN_LESSON("3", "加入备课包"),
    REFERENCE("4", "引用"),
    ;

    private final String code;
    private final String name;
    FunctionPermissionEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
